#include "MouseScrollEventArgs.h"

namespace input {

	MouseScrollEventArgs::MouseScrollEventArgs( const Mouse& mouse, const Keyboard& keyboard, int delta ) :
		MouseEventArgs( mouse, keyboard ),
		m_delta( delta )
	{}

	MouseScrollEventArgs::MouseScrollEventArgs( const MouseScrollEventArgs& other ) :
		MouseEventArgs( other ),
		m_delta( other.m_delta )
	{}

	MouseScrollEventArgs::~MouseScrollEventArgs() {}

	MouseScrollEventArgs& MouseScrollEventArgs::operator=( const MouseScrollEventArgs& other ) {
		if( this == &other ) return *this;

		MouseEventArgs::operator= (other);
		m_delta = other.GetDelta();

		return *this;
	}
}
